package com.oromwin.repos.socket.response;

import java.io.DataInputStream;
import java.io.DataOutputStream;

import com.oromwin.repos.common.ReposException;
import com.oromwin.repos.common.Common.ReposResult;

// TODO: abstract ResponseRequest를 만들어서 Serializable한 것을 상속받도록 하고, 일부 run함수에 대한 구현도 수행하도록 한다.
public interface Response {
    public void send(DataOutputStream dos) throws ReposException;
    public void receive(DataInputStream dis) throws ReposException;
    public ReposResult getResult();
    public String getDescription();
}
